package com.vkmessenger.net.handlers;

import com.vkmessenger.core.localcache.FriendsCache;

/**
 * Created by IntelliJ IDEA.
 * User: Evgeniy Krasko
 * Date: 20.06.12
 * Time: 20:05
 */
public enum UserResponseHandler {
    INSTANCE;

    public void onUserOnline(long userId) {
        FriendsCache.getInstance().setFriendOnlineStatus(userId, "1");
    }

    public void onUserOffline(long userId, int cause) {
        FriendsCache.getInstance().setFriendOnlineStatus(userId, "0");
    }

    public void onUserStartTypingInDialog(long userId) {

    }

    public void onUserStartTypingInChat(long userId, long chatId) {

    }
}
